<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			body{
				margin: 0;
			}
			ul{
				list-style: none;
			}
			.sidebar-list>li{
				display: flex;
				align-items: center;
				text-align: center;
				width: 5rem;
				height: 5rem;
				padding: 0.5rem;
				
			}
			.sidebar-list>li>span{
				width: 100%;;
				font-size: 1.7rem;
			}
		</style>
	</head>
	<body>
		<div class="sidebar">
			<ul class="sidebar-list">
				<?php foreach($lists as $list):?>
				<li style="background: <?=$list["bgcolor"]?> url(<?=$list["bgurl"]?>) no-repeat 110% 100%/56%;color: <?=$list["color"]?>;">
					<span><?=$list["title"]?></span>
				</li>
				<?php endforeach;?>
			</ul>
		</div>
	</body>
</html>
